package com.etc.service;

import java.sql.Connection;
import java.sql.SQLException;

import com.etc.entity.Person;

public interface PersonService {

	public void add(Person person);
	public boolean check(String account,String pwd);
	public Person findByAccount(String account);
	/**
	 * 
		 * 方法作用:
		 * @param 
		 * @return
	 */
	public Person findPersonById(int id);
	/**
	 * 修改用户余额
	 * @throws SQLException 
	 */
	public void modifyBalance(Connection conn,int id, double balance) throws SQLException;

}
